To empty and remove a directory, type the following: rm mydir/* mydir ... and dot dot (..), and then the rmdir command removes them and the directory itself.
I am making a batch script and part of the script is trying to remove a directory and all of its sub-directories. I am getting an intermittent error about a ...
Removing Directories ( rmdir ). To remove an empty directory, use the rmdir command as follows: $ rmdir veggies3 $. If the directory still contains files or ...